import Vue from 'vue'
import Router from 'vue-router'
import HelloWorld from '@/components/HelloWorld'
import Maps from '@/components/Maps'
import Coordinate from '@/components/Coordinate'

Vue.use(Router)

export default new Router({
  routes: [
        {
            path: '/',
            component: HelloWorld
        },
        {
            path: '/maps',
            component: Maps
        },
        {
            path: '/coordinate',
            component: Coordinate
        },
        {
            path: '*',
            redirect: '/'
        }
    ]
})
